function joinData<T>(first: T, second: T) {
	return `${first}${second}`;
}
joinData<number>(1, 1);

function joinData1<T, P>(first: T, second: P) {
	return `${first}${second}`;
}
joinData1<number, string>(1, "0.2");

const joinData2 = <T, P>(first: T, second: P) => {
	return `${first}${second}`;
};
